home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 002a / abrams.zip / INSTALL.BAK < prev    next >
Text File  |  1988-11-11  |  3KB  |  93 lines

  1. echo off
  2. cls
  3. if %1a == a goto Drv
  4. if %1 == c: goto begin
  5. if %1 == C: goto begin
  6. if %1 == d: goto begin
  7. if %1 == D: goto begin
  8. if %1 == e: goto begin
  9. if %1 == E: goto begin
  10. if %1 == f: goto begin
  11. if %1 == F: goto begin
  12. if %1 == g: goto begin
  13. if %1 == G: goto begin
  14. goto noDrv
  15. :begin
  16. if not exist \ABRAMS.COM goto NotOrg
  17. echo ╔═══════════════════════════════════════════════════════════════════════╗
  18. echo ║                                                                       ║
  19. echo ║                   ABRAMS BATTLETANK Hard Disk Installation            ║
  20. echo ║                                                                       ║
  21. echo ║      This will create a directory called %1\ABRAMS on your hard       ║
  22. echo ║      disk, and will install ABRAMS BATTLETANK in that directory.      ║
  23. echo ║                                                                       ║
  24. echo ║      If you don't want to install ABRAMS BATTLETANK now, press        ║
  25. echo ║      Ctrl-C. When the message asks if you want to terminate the       ║
  26. echo ║      batch job type Y.                                                ║
  27. echo ║                                                                       ║
  28. echo ╚═══════════════════════════════════════════════════════════════════════╝
  29. pause
  30. echo 
  31. echo Creating directory %1\ABRAMS...
  32. if exist %1\ABRAMS\*.* goto dirct
  33. cd\
  34. md %1\ABRAMS
  35. echo Copying the files from ABRAMS BATTLETANK Disk #1 to %1\ABRAMS.
  36. copy \*.* %1\ABRAMS
  37. if not exist %1\ABRAMS\ABRAMS.COM goto instl
  38. :Disk2
  39. cls
  40. echo Copying the files from ABRAMS BATTLETANK Disk #2 to %1\ABRAMS.
  41. echo 
  42. echo Please replace the ABRAMS BATTLETANK Disk #1 with Disk #2.
  43. echo 
  44. pause
  45. if not exist \SIM.EXE goto Disk2
  46. copy \*.* %1\ABRAMS
  47. %1
  48. cd \ABRAMS
  49. echo 
  50. echo ABRAMS BATTLETANK is now installed on your hard disk.  
  51. echo To run it ABRAMS BATTLETANK type "ABRAMS".
  52. goto done
  53. :NotOrg
  54. echo 
  55. echo Installation Error:  To install ABRAMS BATTLETANK on your hard disk, you
  56. echo must start this install from DISK #1 in drive A or B.  For example, if 
  57. echo your ABRAMS BATTLETANK DISK #1 is in drive A and you want to install to 
  58. echo drive C,
  59. echo Type A: and press Enter.  
  60. echo Type "INSTALL C:" and press Enter.
  61. goto error
  62. :Drv
  63. echo 
  64. echo Installation Error:  To install ABRAMS BATTLETANK on your hard disk, you
  65. echo must specify the drive to install ABRAMS BATTLETANK onto.  For example,
  66. echo to install on drive C, 
  67. echo Type "INSTALL C:" and press Enter.
  68. goto error
  69. :noDrv
  70. echo 
  71. echo Installation Error: The hard drive letter must be a letter from C to F,
  72. echo and must be followed by a colon.  For example, "INSTALL C:" will install
  73. echo ABRAMS BATTLETANK on drive C.
  74. goto error
  75. :dirct
  76. echo 
  77. echo Installation Error: ABRAMS BATTLETANK has been installed on drive %1. 
  78. echo To reinstall, delete all files in the ABRAMS subdirectory, then try
  79. echo installing again.
  80. goto error
  81. :instl
  82. echo 
  83. echo Installation Error: An error occured during installation. This could be 
  84. echo caused by a read/write error or perhaps there isn't enough space left on 
  85. echo your hard disk. ABRAMS BATTLETANK installation requires at least 580k 
  86. echo free disk space. Before attempting to reinstall you must delete any files
  87. echo that now exist in the ABRAMS subdirectory of your hard disk %1.
  88. :error
  89. echo 
  90. echo ABRAMS BATTLETANK has not been installed successfully. 
  91. echo 
  92. :done
  93.